<%@page language="java" contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<title>权限设置</title>
	<meta charset="utf-8">
    <%@include file="/common/tree.jsp"%>
</head>
<body>
<div class="row">
	<div class="col-sm-3">
		<div id="tree"></div>
	</div>
	<div class="col-sm-9">
		
	</div>
</div>
<script>
	$("#tree").treeview({
		data:[{
			id:1,
			text:'节点1',
			nodes:[{
				id:11,
				text:'节点1-1'
			},{
				id:12,
				text:'节点1-2'
			}]
		},{
			id:2,
			text:'节点2',
			nodes:[{
				id:21,
				text:'节点2-1'
			},{
				id:22,
				text:'节点2-2'
			}]
		}],
		levels:1
	});
</script>
</body>
</html>